package com.ncloud.resman.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.ncloud.resman.entity.IpAddress;

public interface IpAddressService {
	public JSONArray getIpAddressInfo(JSONObject json);
	public int addIPRegion(Object userId,JSONObject param);
	public int addIPSingle(IpAddress ipAddress);
	public int updateIpAddress(IpAddress ipAddress);
	public int deleteIpAddress(Long id);
	public int isIpValid(String ip);
	int allotIpAddress(IpAddress ipAddress);
	int releaseIpAddress(IpAddress ipAddress);
	JSONArray getIpSegment(String netType);
	int updateIpState(IpAddress ipAddress);
}
